#include "peripherals_uart_5_config.h"

uart_state_t g_stUartState_5;

uart_user_config_t g_stUart5UserConfig0 = {
    .baudRate        = 115200,
    .parityMode      = UART_PARITY_DISABLED,
    .stopBitCount    = UART_ONE_STOP_BIT,
    .bitCountPerChar = UART_8_BITS_PER_CHAR,
    .transferType    = UART_USING_INTERRUPTS,  // 使用中断模式，适合Polling接收
    .fifoType        = UART_FIFO_DEPTH_1,  // 关键：每收到1字节就中断
    .rxDMAChannel    = 6,  // 使用未冲突的DMA通道
    .txDMAChannel    = 7,  // 使用未冲突的DMA通道
}; 